/*
#include "heightcontroledpipe.h"
#include"globalgamemsger.h"

HeightControledPipe::HeightControledPipe(
        QGraphicsScene &scene, bool upper,
        float y0, float v0, QObject *parent)
    :AbstractPipe(scene,upper,y0,v0,parent)
    //,changeY(this,"y",this)
{
    //changeY.setDuration(100);
    connect(&globalGameMsger::m,&globalGameMsger::onVoiceFrequency,this,&HeightControledPipe::onHeightVar);
}
void HeightControledPipe::onHeightVar(float newH)
{
    //changeY.stop();
    //changeY.setStartValue(y);
    //changeY.setEndValue(newH);
    //changeY.start();
    y=newH;
}
void HeightControledPipe::updateXY()
{
}
*/
